package io.renren.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;


/**
 * 购物车
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-04-11
 */
@Data
@ApiModel(value = "购物车")
public class XlsCartDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "购物车Id")
	private Long id;

	@ApiModelProperty(value = "用户id")
	private Long userId;

	@ApiModelProperty(value = "是否选中 -1未选中1选中")
	private Integer isCheck;

	@ApiModelProperty(value = "商品id")
	private Long goodsId;

	@ApiModelProperty(value = "购买数量")
	private Integer cartNum;

	@ApiModelProperty(value = "创建时间")
	private Date creatTime;

	@ApiModelProperty(value = "是否是直接购买 -1否 1是")
	private String isDirect;

	@ApiModelProperty(value = "商品类型1.零售")
	private Integer goodsType;


}